using UnityEngine;

namespace Framework
{
    public class LogAction<T> : Behavior<T>
    {
        private string _text;

        public LogAction(string text)
        {
            _text = text;
        }

        public override TaskStatus Update(T context)
        {
            Debug.Log(_text);
            return TaskStatus.Success;
        }
    }
}